/**
 * Copyright ToFBA Ecommerce Logistics LTD. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 * No body can copy or modify any part of this source without the permission of
 * Shenzhen ToFBA Ecommerce Logistics Co., Ltd.
 *   _________    ___   ________  ______        _       
 *  |  _   _  | .'   `.|_   __  ||_   _ \      / \      
 *  |_/ | | \_|/  .-.  \ | |_ \_|  | |_) |    / _ \     
 *      | |    | |   | | |  _|     |  __'.   / ___ \    
 *     _| |_   \  `-'  /_| |_     _| |__) |_/ /   \ \_  
 *    |_____|   `.___.'|_____|   |_______/|____| |____|
 *                                                
 */
package com.lmexpress.orm.newgistics;

import java.io.Serializable;
import java.util.List;

/**
 * <收发退件人信息>
 * 
 * @author Henry(fba02)
 * @version [版本号, 2020-10-16]
 * @see https://shipping.pitneybowes.com/api/post-shipments-newgistics.html
 * @since [产品/模块版本]
 */
@SuppressWarnings("serial")
public class Address implements Serializable {
    private List<String> addressLines; // Required
    private String cityTown; // Conditional Required for:USPS SBR labels: Required in the fromAddress object. Pickups
    private String stateProvince;// Conditional: The state or province. For US address, use the 2-letter state code.
    private String postalCode; // Required
    private String countryCode;// Required
    private String company; // Conditional: The name of the company.Required for:USPS SBR labels: The company or name field must be present in the fromAddress object.Pickups
    private String name;// The company or name field must be present in the fromAddress object.
    private String phone;// Required in the fromAddress object
    private String email; // Required in the fromAddress object
    private Boolean residential = false;
    private String deliveryPoint;
    private String carrierRoute;
    private String taxId;
    private String status;
    
    public List<String> getAddressLines() {
        return addressLines;
    }
    
    public void setAddressLines(List<String> addressLines) {
        this.addressLines = addressLines;
    }
    
    public String getCityTown() {
        return cityTown;
    }
    
    public void setCityTown(String cityTown) {
        this.cityTown = cityTown;
    }
    
    public String getStateProvince() {
        return stateProvince;
    }
    
    public void setStateProvince(String stateProvince) {
        this.stateProvince = stateProvince;
    }
    
    public String getPostalCode() {
        return postalCode;
    }
    
    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }
    
    public String getCountryCode() {
        return countryCode;
    }
    
    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }
    
    public String getCompany() {
        return company;
    }
    
    public void setCompany(String company) {
        this.company = company;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getPhone() {
        return phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    
    public String getEmail() {
        return email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }
    
    public Boolean getResidential() {
        return residential;
    }
    
    public void setResidential(Boolean residential) {
        this.residential = residential;
    }
    
    public String getDeliveryPoint() {
        return deliveryPoint;
    }
    
    public void setDeliveryPoint(String deliveryPoint) {
        this.deliveryPoint = deliveryPoint;
    }
    
    public String getCarrierRoute() {
        return carrierRoute;
    }
    
    public void setCarrierRoute(String carrierRoute) {
        this.carrierRoute = carrierRoute;
    }
    
    public String getTaxId() {
        return taxId;
    }
    
    public void setTaxId(String taxId) {
        this.taxId = taxId;
    }
    
    public String getStatus() {
        return status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }
    
    @Override
    public String toString() {
        return "Address [addressLines=" + addressLines + ", cityTown=" + cityTown + ", stateProvince=" + stateProvince + ", postalCode=" + postalCode + ", countryCode=" + countryCode + ", company=" + company + ", name=" + name + ", phone="
            + phone + ", email=" + email + ", residential=" + residential + ", deliveryPoint=" + deliveryPoint + ", carrierRoute=" + carrierRoute + ", taxId=" + taxId + ", status=" + status + "]";
    }
}